Instructions for accessing CSO Power Tools Online UNIX Workstation with SoftPC (Updated April 1, 1993) CSO Power Tools Online is written for MS-DOS-based PC clients. Although the Document Management System (DMS) application will not run in a native UNIX environment, it is possible to emulate an MS-DOS window using SoftPC on a UNIX workstation. ___________________________________________________________________________ UNIX Workstation Configuration ------------------------------- All files related to Power Tools are located on an HP-UX server in Cupertino, California USA. These files can be accessed (or copied) in a read-only mode using the NFS (Network File System) feature of HP-UX. In order to connect your UNIX workstation filesystem with the Power Tools Server, you will need some knowledge of UNIX Systems Administration and have a "root" or "superuser" password. Prerequisites ------------- HP9000/700 System Workstation HP-UX Operating system 8.0 or greater Network File System (should come with standard HP-UX) SoftPC 3.0 (Installed and configured) These are GENERIC instructions; you should have a minimum understanding of each command before proceeding. We have included an example of each command with a sample answer for demonstration purposes. Connecting file systems: 1.) Login as a "root" user login: root Password: 2.) Test Network Connectivity and Domain Name Server A.) Check Name resolution on DNS - Domain Name Server Command: # nslookup hpcuppb.cup.hp.com Sample Output: > >Name Server: nwcserv1.cup.hp.com >Address: 15.9.88.186 > >Name: hpcuppb.cup.hp.com >Address: 15.9.91.178 > Comments: You may get different results from both the "Name Server" and "Address" fields. If you get the following error ... Error: "can't find hpcupp.cup.hp.com: Non-existent domain" Consult your local Network Administrator for help. (Do not continue until your DNS - Domain Name Server has been updated) B.) Check connectivity to Power Tools Server Command: # /etc/ping hpcuppb.cup.hp.com 128 5 Sample Output: > PING hpcuppb.cup.hp.com: 128 byte packets > 128 bytes from 15.9.91.178: icmp_seq=0. time=51. ms > 128 bytes from 15.9.91.178: icmp_seq=1. time=46. ms > 128 bytes from 15.9.91.178: icmp_seq=2. time=48. ms > 128 bytes from 15.9.91.178: icmp_seq=3. time=45. ms > 128 bytes from 15.9.91.178: icmp_seq=4. time=52. ms > > ----hpcuppb.cup.hp.com PING Statistics---- > 5 packets transmitted, 5 packets received, 0% packet loss > round-trip (ms) min/avg/max = 45/48/52 Comments: If you don't get a response from hpcuppb.cup.hp.com, consult your local Network Administrator for help. (Do not continue until you can successfully send and receive packets with 0% packet loss.) 2.) Make a Power Tools directory Command: # mkdir /powertools 3.) Connect the Power Tools read-only file system with your workstation. ** This step may be completed by using the SAM interface. SAM stands for "System Administration Manager" Command: # /etc/mount hpcuppb.cup.hp.com:/csolit /powertools Comment: This command will link the PowerTools disks using NFS. This link will be lost if you workstation is rebooted. If you would like to have this partition automatically loaded during regular startup procedures use the SAM interface. (Use "Add NFS mount ...") This is a sample entry that SAM will append to your /etc/checklist file... "hpcuppb:/csolit /powertools nfs rw,suid 0 0" # bdf Sample Output: > > Filesystem kbytes used avail capacity Mounted on > /dev/dsk/6s0 312558 215063 66239 76% / > hpcuppb:/csolit 3759046 656645 2726496 19% /powertools > Comment: This command links the Power Tools server filesystem with your local filesystem using NFS. You now have read access to the Power Tools data (located in /powertools). You may copy, print, etc., this data using your standard UNIX commands. (cat, lp, etc ...). See NOTE for details. NOTE: All Power Tools files are in DOS format. File Types may NOT represent what is "standard" for UNIX file manipulation. For example, all *.pcl files are in a specialized compressed format which CANNOT be printed using the standard "lp -oraw" command. 4.) Start using SoftPC to access Power Tools Data via the DMS interface: A.) Login as a "non-root" user. login: user Password: B.) Startup SoftPC 3.0 Command: spc & C.) Connect /powertools with SoftPC DO ALL THESE COMMANDS WITHIN THE SOFTPC WINDOW C:> net use f: /powertools C:> f: F:> start You are now running Power Tools on your UNIX workstation. You should have the same functionality that you would have running Power Tools on a PC. Setting up local (slave) and networked printers in SoftPC --------------------------------------------------------- SoftPC provides emulation of three IBM printer adapters, referred to by MS-DOS as ports LPT1-LPT3. You can use SoftPC LPT ports several ways: o Ports may be assigned to UNIX pipes to other host processes (for example, to a print spooler). Output-only operations are possible. Information is buffered by SoftPC until the user chooses to flush the port. The UNIX pipe is then closed and a new one opened. o Ports may be assigned to regular host files. The files are opened for append access, and output-only operations are possible. Information is is buffered by SoftPC until the user flushes the port (either manually or automatically). o Printers and plotters work with SoftPC either through a direct mapping device file or through a pipe to the LP spooler. Installing a SoftPC printer --------------------------- 1.) Attach the printer to HP-UX following the instructions given in the "Installing Peripherals" manual or using SAM. 2.) Test the device on HP-UX and make sure it is working properly. Once the device is working correctly, it can be accessed by SoftPC. Follow these steps to test the device from SoftPC. 1.) Open the "Printer Ports" or "COM Ports" dialog box (accessed via Options - COM/LPT Ports). Enter the following into the text box for the LPT/COM port of your choice: lp -oraw -d[PRINTERNAME] Replace [PRINTERNAME] with the name of the HP-UX printer device or spooled printer. (networked or local) 2.) Print DOS using the assigned LPT or COM port. This information can be found in the SoftPC Users Guide. If you have any questions, difficulties, or feedback, please call telnet/408-447-6922, or send an HP Desk message to Power TOOLS/HP6650/AF. (End of instructions)